bugfix for pagespeed