add hack for ipad