fix attribute retrieval
Merge pull request #296 from teharrison/develop

fix attribute retrieval