fix initialization bugs of factorgraph stuffs