WSOTWO-126: fixed default case of switch