wip example
fix enforcer - param metas are not evaluated, error handling was incorrect and some other inconsistencies