Bug fix for minus degrees