fix for FireFox