fixed Firefox problems