fixed build errors (to confirm with pep257)