fixed tex problems
fixed problems