fixed some python