Fixing a variable type