correct flag input