Fixed snipmate bug on singleton pattern