Fix yasnippet initialization