[FIX] Error if database not loaded