remove blank values from hash (fixes #12).