FIX DATABASE