fixed coffeescript error