fix carrierwave with mini_rercord