Fixed rename bug.