fix viewAction