fix crashing bug in atop