fixed schema loading