4.3 fix to setting metadata hook treatment