fix slope_read_type to be correcty in bg translation