Fixed some typos to run on Mac and compile on mobile