master_fix_templt