add mode char remove,added arg parse