coffeescript compatibility
fixed bug