make compatible with firefox
up to 1.3.0