bug fixes. drop tables, fix call to st_simplify