replace paths