emit "ready" event after init