fix tabchange