fixed attribute assigment in recipe