fixes to work with my snipmate version