fixed bug on iphone, when site was frozen sometimes