Fixed replace method