Replace backward paths