Fixed bugs about postgis schema.