fix document opener