fix some bugs in the quire view