fix bug inputting staged message
make events sortable by Queue