first in a series of very complicated edits to make compat with 5 - 7 iOS