fix plot