fix for parsing tables