fix for negative angles (-10 --> 350)