fix bug req/rep, replace with PAIR