removed some db init