Fixing a bug with the mindwave connection