little improvement
little improvement of workaround for Firefox bug 875114