handle rename errors