fix stim alignment with offset