fixed logYMaxGlobal
fixed logYMaxGlobal