Fixed rename:ing bug