changed to fix axies min max