Fixed invite bug.