bugs with datamapper/carrierwave usage fixed