Fixes bug in going_angle