bugfix: check if a pattern variable is bound/free