fixed a bug in desktop browsers