fixed issue where iphone was crashing on homepage