fix next release method