fixing a bug with important-lable and cleaning up trailing sapces