fixed a bug for chapter view