We should get this value from the context instead of directly from the path.