Return tabInfo object correctly