fixed db migration error