fixed color problem with selection