number attribute bugfix