bug correction in argument parsing