fixed bug: controller dies after sending auth,ids events.