fixed to allow multiples schemas