fixing text issues and notation errors