fix db make error