histogram example and fix on WFS WCS requests