temporary workaround to ff+osx bug