Sandbox cleans local references before every call