make this work better on Chrome