bugfix for jquery