added correct broken table handling