Fixed a bug in the previous commit
uninitialized memory