fix invalid zpt view action logic