removed length
bugfix when attribute is already set