cleaning up py3k support