bug fix

move output into switch case