fix bug when event with no skills is created