[fix] queue implementation