add task arg validations