fixed x axis bug