fix: added iOS8 compatibility