fixing some db settings