Fix quest bug

Related issue: #154