Minor bugfix parsing input args