fix syntax that is causing bug on opera 12.5