fixed issues for iphone5