fix when run without cmd line args