parse manifest