working on the mismatch for triangulation between os x and win32