fixed db changes