Fixed bug

Fixed bug in commandline which was surfacing in ToString().