Corrects BASE_PATH