fix bug with fixing values to zero which didn't work before because 0 is false (but not null)