Fixed iPad bug