before adding carrierwave