fixed replacer context