fixed problem with documents page