Forgot to remove invalid refs