* fix invalid option issue on mac