work around difference in browser