in ControllerExtensions, assign target_id with target_object's id first
Merge pull request #72 from blankyao/optimize_target_id_in_controller_extensions

target_id in ControllerExtensions