fix name not changed on confirm click