fixed an issue with the workqueue