clean up. and new tab title fix