removed debug code (still no working solution for KitKat, seems better on Lollipop)