paperclip working with avi