changing db to null