update for lime and fixes for IOS