rough fix the flask-images