fix handling command line arguments
version 0.0.12