unserialize plan if given
removed generated doc