fix bug in AtLabel.