Made sure that mode is not displayed twice.