fix mongoid and pretty_print conflict