Fixing an unitialized variable