fixed bugs on linux and mac for helloworld