working around the python UI issues