fixed; ClassCastException occurs with view.