error when name is changed