fix wrong path problems