fix old getRelease usage