Fix an unitialized memory error