fix 500 Internal Error
add werkzeug server for test purpose