queue clean up