corrected error which prevented entries from being saved