Tries to fi fix the databse