passed methodName to timeout callback
fixed an error if the buffer represents a undefined variable