Fixed base directory issue in framework/global