bug fix for replies