logic fix, ionic beta 4 upd, css fix