change main dir to /public