Check for illegal arguments