fixing tess stuff
still fixing