fixing default case syntax