[fix] clear queue of pagelets and proper indexOf