Fixes problem with tables.