fix upload image paperclip action error