right path handling