Fixed bug in invite input