Fix #77

Fixes issue with firefox.