fix bug of yasnippet