added delete path on exists