fixes double reply issue