added fix on invitation