Fixed sprintf() issue.