[ref] small fixes, [+] ios support