modify mode to display multiple modes if present