PB077: Fixing Database Errors