fix bug in opera 12