fixed capture in new version of Chrome