fixes to ios