fix db properties