fixed #302 (metadata in document browser doesn't work)