fixed an assertion view