removed multiple duplicate cases from logger