fixed coffeescript compile issue