Issue #178 fix bug not sending reg id