inserted workaround to work on non-webkit engines (lol)