fixed bug where setup_websocket() was called before admin was set
fix for moving items to the end of the queue