eliminate "!=None" warnings