fixed pre-release hook