cleanup command line procesing