DirectiveContext.context needs to be an Option
modify error handling