Customizing PDF not working / breaking