detailview pdf improved