display required only when needed, fix #1601