updated error in story.jade view