fix share dir and set G.PROJECT_PATH in one place