fix quest.php