fixed bug in gunicorn template