fixed wrong parsing of table