avoid error about Mongoid::Attributes::Dynamic