bugfix for angle simplicfication