fix plot ranges