fixed invite error