fixed invite bug
demo