fix wrong pathname