get_in_out corrections