removing some db stuffs