Fix some release code