added exception for postgres polygon