fixing "labels" bug