fix a bug on waiting list