more intelligent error message on missing WF