Proper None interpretation while geting atrr