better handle table without tbody