better error messages if pft table is not correct