try iphone detection better (with debug)