replace all of typed out to handle tab change bug