PositionLengthAttribute fix