fix logcat errors