fix a bug that prevents items to be added in wait list