Forgot a rather important piece of the replaceAll function
Fix replaceAll function