fixed modifications to schema