ficed props refernce and added uninstall if install fails