stubb bug fix for tab reset