print out string, not buffer