deal with schema