Remove Log.d
Fix bug