account for when POH is ***, fix some pylint issues