check for destroyed view