should avoid future AttributeErrors, etc. like #178
should avoid future AttributeErrors, etc. like #178