restore 3.3 support, apparently flask works with 3.3 only