Bugfix for iphone