working put io and carrierwave bgs