fix bug in document-controller, fix refresh property on index panel