Fixed dingo undefined event bug