bugfix: maxAngle