bug fixes for ipad and iphone