fixes to reply_put