diff --git a/library/src/main/java/com/github/sundeepk/compactcalendarview/CompactCalendarController.java b/library/src/main/java/com/github/sundeepk/compactcalendarview/CompactCalendarController.java
index <HASH>..<HASH> 100644
--- a/library/src/main/java/com/github/sundeepk/compactcalendarview/CompactCalendarController.java
+++ b/library/src/main/java/com/github/sundeepk/compactcalendarview/CompactCalendarController.java
@@ -203,10 +203,9 @@ class CompactCalendarController {
         List<CalendarDayEvent> uniqCalendarDayEvents = events.get(key);
         if(uniqCalendarDayEvents == null){
             uniqCalendarDayEvents = new ArrayList<>();
-        }else{
-            if(!uniqCalendarDayEvents.contains(event)){
-                uniqCalendarDayEvents.add(event);
-            }
+        }
+        if(!uniqCalendarDayEvents.contains(event)){
+            uniqCalendarDayEvents.add(event);
         }
         events.put(key, uniqCalendarDayEvents);
     }
Fixed big where first event was not being added