buffer is now properly converted to a string during tiemout