I am trying to do a simple methylation of a carboxylic acid, using base to deprotonate the carboxylic acid and then adding the MeI while refluxing. The reactions did form the desired product but with extremely low yields. It is as if the reaction does not want to proceed to completion. Any suggestions?