Quick fix in Document Controller