tweaking for X display differences