fixes for invite