func_code/__closure__ fix