improve attr mngmt
small improvements
Merge branch 'develop' into 1.x-stable