Solve problem with variable ps:State which was initialized too late.
Replaced by an intermediate value that can be created before to parser
is actually run.
This lets use audit (with call to locator) before the parser runs.