fixing terrible tab issues