fixed setting offset in upHandler