fixed bug in getting reply_to addresses