fix quest and other problems