Fixed a crash bug that happened when service was registered
Fixed a bug that lacks a argument for object handler