read table name and attributes out of string correctly!