python 54axhg5 workaround