removed useless sprintf