added mongoid constant workaround