Fix missreplacement