Correcting isStrict and variable type