fixed invalid usage of Angle