fix mongoid load file error