fixed invite page bug