adding null check to reject method in match service