fixed(?) activity to not crash