fix bae

thanks Issue 9509
Merge pull request #107 from binyuj/patch-5

fix bae