fixed an issue with registering participants correctly