fix db limits