fixed polarization correction code, resolve #67