raise exception on rename