improve displayinfo