add tab titles
Fix insertion error