remove median color