fix little bug to allow webapp.py without client var