getting rid of some warning in tex