add max to angle
fixed it!