fixed path duplication not slicing correctly