minor fix to clear the state when dropping from queue