fixed pass_quest
removed old code