expose a bug that input yaml with undefined variables doesn't raise an exception
fix the bug that yaml isn't being checked for undefined variables