fixed db migrate error