Corrected trigo bugs with pitch