rmoved unnesessary nested level from input options, now plugin accepts one level object with errors