many string errors on formatting from stdin to memory