fixed scaling issue on x axis