Fixed the bug of --readlist option.