fix bug. replace works!