flask server fixed