prevent unaccessible variable from being invoked