fixes to make phone OS work