fixed browser compatibility