Fix for removing default webapps

fix has been tested