Cleaned checkArgs