got rid of xScale warning.