auto add prefix and slot in schema