make queue workable