fixing issue collection of replacements