bug fix on command line