Fixed path problems for /media/documents