safe invoke for assign user