correcting indentation of case statement