fix exception _from_dict() and statement label