fixing parent path