remove unused tex macro