global variable collision