fixed problem with contrast