more ios bugfixes