setTimeout on change tab
fix bugs