fix non-display problem