fix compatible with yasnippet