iOS Beta fixes. so beta variable now works on iOS as it should.