fixup some variables that wasn't suppose to be there