fix some bugs in cups_root_file_read module.