correction when database is empty