changing Sprintf to Printf in refactor.go