fix labels scope