Add logging to track down this offset bug