fixing logcat errors 1