debug warning in database