ENH/FIX to_offset simplifies offset