Remove unused ref in alternatives