hotfix of replacementAlgoritme .1