removed endWin.flip(), works with psychoPy 1.77