Bugfix on iOS