fixing parent dir