Fixed 'Database' Class Bug