Fixed weird error on unknown flag combination