add pathname check when exec replace action.