fix bug when you submit reply without refreshing