created function to remove widgets uninstall packages