handle basic failing scenarios when parsing flags