add default value for event in factory