fixed reply bugs