fixed missing include (stdio) in string