fix customevent builder