remove modifications to paths from parameters