fix plot scaling