bug fixes (view hierarchy should never crash now)