changed queue lock