fixing silly errors

said errors either produced by a Python update or my own incompetence