fixed getQueue crash