fixed attribute setting in recipe