fixed PDF carousel init line