fix reply bugs