resolved the bug while clicking on queue link then in some patient case gives error