fixed errors in file_io and yaml_serialization