fixing databae settings