Fixed Max's invitation bug