made firefox-compatible