fix load order issue with mongoid