quick bug fix on missing replacement