Fixed errors in schema