collect functionality for manifest parsing from PR #16
Fix platform error from merge

fix error from merge