changed the sw value for tex