Fix error in the new command