fix double reply on fail