fixing delete function
Merge pull request #4 from obihann/queue

fixing delete function