fix minor db migrate error