queue not working