fixed x-axis display bug