re #678 - correcting invalid offset error.