Fixed UltiSnips functions