fix #5. Show correct error when trying to rename none persp.