fix for firefox
logging