race condition on navstate and loading captable