You should wrap the subtraction into parentheses, otherwise you would scale the mean value by the inverse std.
If that’s fixed, your output should have a zero mean (or something around 1e-6) and a unit variance.