Disclosed herein is the method of preparing the compound of formula I (N-(5-chloro-2-pyridinyl)-2-[[4-[(dimethylamino)iminomethyl]benzoyl]amino]-5-methoxy-benzamide), comprising contacting LiN(CH3)2 with a compound of formula III or a salt thereof under conditions to form the compound for Formula I.