small bug fixed: queue in function wrong name