few fixes for FireFox