fixed the quick rename function