fix variable naming that causes advanced compiler to fail