fix quality calculation in not x input options
solved bad two phase definition in not x input