fixed release max attribute to be compatible with 2.5.1 and greater