fix plot order