make compatible with Opera