Default resource for invalid expression

This PullReq is for solving Issue #196.