improve ticker loop