minor bug fix for firefox