fixing up saving tab fields and displaying tab fields