fixed attribute assigment