issue#1 +fix error with pinned tabs