fix db_percentage