fixes for firefox, opera