changed version of Flask