fixed bug in ionic 14