Fixed my broken reNaming() function