better flask version; lower version doesnt work with python3+