Fix some bugs in labelling tool