fix insane tex bug