fix tabhost id, small fix redundant vars