attributes bugfix