fixed optimization for iphone 5