last_replied bug fix