iOS8 workaround