fix forceVersion bug found by pyflakes