give exception if private data clause cannot find var in current scope