make validate_args() always return an array

see #883