fixed issue of upload in ipad