Fixed an error in 'offset()'.