Fixing all of the offset bugs.