Minor main.coffee bug fix