master - `a` / `an` typo fixes fot API

following the proposed typos correction for 3.0, I did the check and correct some in master branch