fix incompatibility with activesupport