fixing greylevel