Update system.cpp

NULL initialization