fixed code error, and axis labels