Fix issue with communication with browser