clean up parentWays