Fix for bad varibale name