Fix rename error

If rename fails, we should show the error, not show it, then redirect.