fix for database load