android and ipad useragent check added