fix case sensitive issue on mac