Fixed some python errors