Correct replace syntax