fix the reply bug