removed uninitialised memory read
removed uninitialised memory read