Hopefully fixes iOS error