fix for ipad iphone
adjusted formatting