fixed up some python