fixed checked for customised invitation