fixes #294
Merge pull request #299 from IIIF/bug-fixes

fixes #294