fix errors in carrier_wave initializer