solved Paperclip problem