skip validations when setting view mode