FIX function DB_protect