new way to display pdf and bgcolor modification