fix bug for open summary file.

Signed-off-by: Ji You <jiyou09@gmail.com>