bugfix to pre-release script