Fixed replace cell delegate issue