fixing error in web app