Illegal offset fix