fixed, put into coffeescript instead