check required args