Fixed trig blunder