fixes for various browsers