Fixed uninitialised values.