fixed bugs regarding the handbookDAO