Fixing display database mode