resolves #501 Change char to ch to avoid keyword conflict
Merge pull request #502 from mojavelinux/issue-501

resolves #501 Change char to ch to avoid keyword conflict