fixing bug in broker recipe