[fix] don't allow a table to extend beyond its header