ios building working. more improvements