possible py3k fix