fix prepare-release script