Check args is ok