cleanup python stuff