Fixed compatibility with sublime text 3