bug fixes in release process