Fix for database prefix