Remove redundant sprintf