working to fix patron database