Fixed some uninitialised values