fixing commandline opts