Fixes paperclip new version's side effects