fixed ios issues