Fix to ensure initializer is fired before first page loads