Fix documents view