add better messaging when schema isn't initialized