Small fix in ViewAction

Small fix in ViewAction