fixed a bug that prevented from schools to be created successfully.