Fix bug on creating queue by teacher