fix db schema issue