NavigateTo Action generation code fix