Fixed some db