small fix for getting rid of singleton variable warnings