added fix for firefox