Fix bug for release