fixed link and attachment offset processing