Fixed str not bufferable error.