coffeescript bug fix.