paperclip is working but not for PDF