bugfixes on ios