fix some "magical" pixel values