fixed core.coffee