refactor carrieriwave initializer