finalize paperclip