fixing stg3_mac