replace Log.i with Log.d