I get an empty pdf in my dropbox