Fix error path in changedisplayname call