fixing bug in high contrast