fix compatibility bug with neosnippet