move the navigation call into a before block