set a default attribute to getattr so an error isn't raised if an attribute is unknown