Problems with retrieving PDF documents