fix altering parent path

oops :)