parent path bug fixed + typo