converted some printStackTraces to Log.e's