add fix for firefox