compatibility with sublime, minor syntax fixes