fixing diminish highlight bug