check for dict keys before use in show()