support only for 4-0 rails stable branch