remove db first