fixed remove db scripts