make ionic work, somehow