fixed bug with xAxis label

fixed a small bug that lead to an error when changing an existing x axis label.