ignore phases with errors, and add unwrap filtering