fix bug in recipe