fixed events without namespace bug