fixed bug in reject invitation