get schema right