refs #341: handle attributes before label