indev changes to make ionic work