Fix bug in main.gsp