improving rename, removed dead code from redis library