Fixing variable type.