fix crash in accept invatation screen