Fixed webapp.py patch