fixes #295
Merge pull request #301 from IIIF/bug-fixes

fixes #295