changed expected string according to the previous commit change
fixed that offset could not be updated when its value is falsy 0