aws flask version bug