Buffer.wrapped() not working