resolved issues regarding paperclip