bugfixes of coffee script