Fixed uninitialised variable