should fix issue #30, which was related to changes in werkzeug