verifiy path exists before try remove