Fixed the type conversion on schemas