fixed x-Axis Bug