Python errors corrected in receptacles, (not yet correct)