Fixing the empty field issues on PDFs