fix of HandleMaximize fix