some more fixes for webapplication