Out of curiosty, how can this AttributeError?