webapplication bug fix