cancel polmask if not needed

cancel polmask if not needed