fix tex issues
fixed export