Fix table parsing bug